#pragma once
#include "afxwin.h"
#include "afxcmn.h"


// CContactDialog dialog

class CContactDialog : public CDialog
{
	DECLARE_DYNAMIC(CContactDialog)

public:
	CContactDialog(CWnd* pParent = NULL);   // standard constructor
	virtual ~CContactDialog();

// Dialog Data
	enum { IDD = IDD_CONTACT_DIALOG };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()
public:
	CStatic m_contactStatus;
	int m_countSelected;
	bool m_bAllSelect;
	CButton m_btSelectAll;
	CListCtrl m_contactList;
	afx_msg void OnContactReturn();
	afx_msg void OnContactOk();
	virtual BOOL OnInitDialog();
	int ReadSimContact(void);
	afx_msg void OnBnClickedBtnSelect();
	afx_msg void OnNMClickContactList(NMHDR *pNMHDR, LRESULT *pResult);
	CString m_smsContent;
	int SetSMSContent(CString smsContent);
	CString GetSMSContent(void);
	int SendSMS(BOOL bSendConfirmation, BOOL bUseDefaultSMSC, LPCTSTR lpszSMSC, LPCTSTR lpszRecipient, LPCTSTR lpszMessage);
	int ReadSimContactEx(void);
};
